﻿

public class Request_LikeMoment : RequestBase
{

    public const string Key = "LikeMoment";

    public LikeMomentRequestData likeReqData = new LikeMomentRequestData();

    protected override ISerialize requestData
    {
        get
        {
            return likeReqData;
        }
    }

    public Request_LikeMoment() : base()
    {
        MessagePacket.key = Key;
    }

    public override void OnSend()
    {
        base.OnSend();

        GameDebug.Log($"like: {likeReqData.momentId} {likeReqData.momentUserId}");
    }

    public override ResponseData NewResponseData() => new ResponseData();

    //public override ResponseBase GetResponseHandler()
    //{
    //    return new Response_Common();
    //}
}
